package it.asvp.asvp_portal.data.dao;

import java.util.List;

import it.asvp.asvp_portal.data.entity.event.Event;

public interface EventDao {

	public Long persist(Event transientInstance);
	
	public void delete(Event persistentInstance);
	
	public Event merge(Event detachedInstance);
	
	public Event findById(java.lang.Long id);
	
	public List<Event> findByPriority(boolean priority);
	
	public List<Event> findAll();
}
